home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / misc / avmnfaxsrc1_33.lha / callback.h < prev    next >
C/C++ Source or Header  |  1994-05-25  |  424b  |  20 lines

  1. /* $Header: pd:zvmrcs/callback.h,v 1.1 1993/04/07 18:46:56 rvillari Exp $ */
  2. #ifndef _CALLBACK_H
  3. #define _CALLBACK_H
  4.  
  5. #include <exec/types.h>
  6. #include "voice.h"
  7.  
  8. /* this is an important data structure for doing callbacks with our program -- in 
  9.  a cascadable fashion */
  10.  
  11. /* MAX of 5 callback functions */
  12.  
  13. struct CallBack {
  14.   ULONG signalMatch[5];
  15.   enum ReturnStatus (*functionPtr[5])(void);
  16.   int numCallBacks;
  17. };
  18.  
  19. #endif
  20.